﻿using System;
using System.Web.UI;
using NguyenHoa.Web.App_Code;

namespace NguyenHoa.Web.MasterPages
{
  public partial class Default : MasterPage
  {
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void btnEN_Click(object sender, ImageClickEventArgs e)
    {
      ((BasePage)Page).CurrentLanguage = GlobalCache.Instance.English;
      Response.Redirect(Request.RawUrl);
    }

    protected void btnVN_Click(object sender, ImageClickEventArgs e)
    {
      ((BasePage)Page).CurrentLanguage = GlobalCache.Instance.Vietnamese;
      Response.Redirect(Request.RawUrl);
    }
  }
}
